<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="  http://www.w3.org/1999/xhtml" xml:lang="zh-cn" lang="zh-cn">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta name="keywords" content="<%#= pc_meta_keywords%>">
        <meta name="description" content="<%#= pc_meta_description%>">
        <title>采集到PIN</title>
		<%= javascript_include_tag "jquery-1.7.1.min"%>
		<%= javascript_include_tag "application"%>
		<%= stylesheet_link_tag "pin_board"%>
    </head>
    <body>
        <%= yield %>
        <script type="text/javascript">
            function trackGAEvent(category, action, label, value){
                _gaq = _gaq ||
                []
                // Event
                _gaq.push(['_trackEvent', category, action, label, value]);
                // Virtual Page
                virtual_page = '_event_';
                virtual_page += "/" + category;
                if (!action) 
                    action = '_';
                virtual_page += "/" + action;
                if (label) 
                    virtual_page += "/" + label;
                _gaq.push(['_trackPageview', virtual_page]);
            }
            
            var _gaq = _gaq || [];
            _gaq.push(['_setAccount', 'UA-12967896-1']);
            _gaq.push(['_setCustomVar', 1, 'is_logged_in', 'logged in', 2]);
            _gaq.push(['_setCustomVar', 2, 'page_name', 'bookmarklet_create_pin', 1]);
            _gaq.push(['_trackPageview']);
            (function(){
                var ga = document.createElement('script');
                ga.type = 'text/javascript';
                ga.async = true;
                ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
                (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);
            })();
        </script>
    </body>
</html>
